class CBoxLayout(object):
    LeftToRight = 0
    RightToLeft = 1
    TopToBottom = 2
    BottomToTop = 3

    def __init__(self, direction, parent):
        pass

    def addLayout(self, layout, intstretch=0):
        pass

    def addSpacerItem(self, spacerItem):
        pass

    def addSpacing(self, size):
        pass

    def addStretch(self, stretch=0):
        pass

    def addStrut(self, size):
        pass

    def addWidget(self, widget, stretch=0, alignment=0):
        pass

    def direction(self):
        pass

    def insertLayout(self, index, layout, stretch=0):
        pass

    def insertSpacerItem(self, index, spacerItem):
        pass

    def insertSpacing(self, index, size):
        pass

    def insertStretch(self, index, stretch=0):
        pass

    def insertWidget(self, index, widget, stretch=0, alignment=0):
        pass

    def setDirection(self, direction):
        pass

    def setSpacing(self, spacing):
        pass

    def setStretch(self, index, stretch):
        pass

    def setStretchFactorForWidget(self, widget, stretch):
        pass

    def setStretchFactorForLayout(self, layout, stretch):
        pass

    def spacing(self):
        pass

    def stretch(self):
        pass
